package com.siao.errors
{
	import flash.utils.getQualifiedClassName;
	
	/**
	 * 单例模式错误
	 * @author SiaoLeon
	 */
	public class SingletonError extends Error
	{
		// -------------------------------------------------------------------------------------------------------- 静态常量
		
		// -------------------------------------------------------------------------------------------------------- 静态变量
		
		// -------------------------------------------------------------------------------------------------------- 静态方法
		
		// -------------------------------------------------------------------------------------------------------- 静态函数
		
		// -------------------------------------------------------------------------------------------------------- 属性
		
		// -------------------------------------------------------------------------------------------------------- 变量
		
		// -------------------------------------------------------------------------------------------------------- 构造
		
		/**
		 * 构造函数
		 */
		public function SingletonError(instance:Object)
		{
			super(getQualifiedClassName(instance) + "是单例模式，无法实例化。");
		}
	
		// -------------------------------------------------------------------------------------------------------- 方法
	
		// -------------------------------------------------------------------------------------------------------- 函数
	
	}
}
